WC_Braintree\Apple_Pay\Frontend S

Total Complexity 20
Dependencies 3
Dependents 1
Total lines 132
Lines of code 47
Logical lines of code 27
Comment lines 57
Methods 7
Properties 0

Methods 7

Method Rating Maintainability Complexity Lines of code
is_tokenization_forced()
S
60 8 13
should_init_on_product_page()
S
71 3 6
should_init_on_cart_page()
S
71 3 6
should_init_on_checkout_page()
S
71 3 6
get_js_handler_class_name()
S
82 1 3
enqueue_scripts()
S
68 1 6
get_js_handler_args()
S
67 1 7